<?php
$this->breadcrumbs=array(
	'Deals'=>array('deal/admin'),
	$model->deal->referenceNo=>array('deal/view','id'=>$model->dealId),
	'Loans',//=>array('admin','customerId'=>$model->customerId),
	'Add',
);

$this->menu=array(
	//array('label'=>'List Loan', 'url'=>array('index')),
	//array('label'=>'Manage Loans', 'url'=>array('admin','customerId'=>$model->customerId)),
);
?>

<h1>New Loan of Deal: <?php echo $model->deal->referenceNo;?></h1>

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>